import request from '@/router/axios'

export function fetchWxDataConfigurationList(query) {
  return request({
    url: '/mp/wxdataconfiguration/page',
    method: 'get',
    params: query
  })
}

export function addWxDataConfigurationObj(obj) {
  return request({
    url: '/mp/wxdataconfiguration',
    method: 'post',
    data: obj
  })
}

export function getWxDataConfigurationObj(id) {
  return request({
    url: '/mp/wxdataconfiguration/' + id,
    method: 'get'
  })
}

export function delWxDataConfigurationObj(id) {
  return request({
    url: '/mp/wxdataconfiguration/' + id,
    method: 'delete'
  })
}

export function putWxDataConfigurationObj(obj) {
  return request({
    url: '/mp/wxdataconfiguration',
    method: 'put',
    data: obj
  })
}
